home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 15207 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.2 KB

  1. Path: news.nyu.edu!schonberg!dewar
  2. From: dewar@cs.nyu.edu (Robert Dewar)
  3. Newsgroups: comp.lang.ada,comp.lang.c++
  4. Subject: Re: some questions re. Ada/GNAT from a C++/GCC user
  5. Date: 3 Apr 1996 20:05:49 -0500
  6. Organization: Courant Institute of Mathematical Sciences
  7. Message-ID: <dewar.828579852@schonberg>
  8. References: <wnewmanDoxrCp.DKv@netcom.com> <SIMON.96Mar30153124@pogner.demon.co.uk> <315D902C.6F7B@escmail.orl.mmc.com> <Dp3G4u.KEA@world.std.com> <4jmuj5$lkh@dayuc.dayton.saic.com> <315F4A9D.7E6F@mcs.com> <4jq4vd$2s5@ferrari.NetXpress.com> <4jsesm$gpa@fozzie.sun3.iaf.nl>
  9. NNTP-Posting-Host: schonberg.cs.nyu.edu
  10. X-Newsreader: NN version 6.5.0 (NOV)
  11.  
  12. Geert said
  13.  
  14. "You still forgot to mention something:
  15.    Also for humans (at least for this human) it is simply easier to
  16.    parse source code that has all of the declarations in one section.
  17. "
  18.  
  19. Absolutely, that hits it on the head! We often design in restrictions
  20. for purely methodological reasons, even though they do not help the
  21. compiler, and may actually complicate the compiler.
  22.  
  23. For example, in Ada, we do not permit a goto to leave a procedure body.
  24. Allowing this is perfectly easy, but it creates a program structure
  25. that we prefer to to permit.
  26.  
  27.